<!-- **********************************************************************************************************************************************************
    MAIN SIDEBAR MENU
    *********************************************************************************************************************************************************** -->
<!--sidebar start-->
<aside>
    <div id="sidebar" class="nav-collapse ">
        <!-- sidebar menu start-->
        <ul class="sidebar-menu" id="nav-accordion">

            <p class="centered"><img src="/assets/img/ncepu.jpg" class="img-circle" width="60"></p>
            <h5 class="centered">管理员</h5>

            <li class="mt sub-menu">
                <a id="leftOrder" href="/order">
                    <i class="fa fa-dashboard"></i>
                    <span>订单管理</span>
                </a>
                <ul class="sub">
                    <li<?php if (isset($_GET['app']) && (1 == $_GET['app'])) { ?> class="active" <?php } ?>><a
                            href="/order/index/index?app=1">华电外卖</a></li>
                    <li<?php if (isset($_GET['app']) && (2 == $_GET['app'])) { ?> class="active" <?php } ?> ><a
                            href="/order/index/index?app=2">华电病号饭</a></li>
                </ul>
            </li>

            <li class="sub-menu">
                <a id="leftType" href="/type">
                    <i class="fa fa-book"></i>
                    <span>分类管理</span>
                </a>
                <ul class="sub">
                    <li<?php if (isset($_GET['app']) && (1 == $_GET['app'])) { ?> class="active" <?php } ?>><a
                                href="/type/index/index?app=1">华电外卖</a></li>
                    <li<?php if (isset($_GET['app']) && (2 == $_GET['app'])) { ?> class="active" <?php } ?> ><a
                                href="/type/index/index?app=2">华电病号饭</a></li>
                </ul>
            </li>

            <li class="sub-menu">
                <a id="leftFood" href="/food">
                    <i class="fa fa-book"></i>
                    <span>菜品管理</span>
                </a>
            </li>

            <li class="sub-menu">
                <a id="leftUser" href="/user">
                    <i class="fa fa-users"></i>
                    <span>用户管理</span>
                </a>
            </li>

            <li class="sub-menu">
                <a id="leftAdvice" href="/advice">
                    <i class="fa fa-desktop"></i>
                    <span>意见反馈</span>
                </a>
            </li>

        </ul>
        <!-- sidebar menu end-->
    </div>
</aside>
<!--sidebar end-->